﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace VCDepend.Tests.Stubs
{
  public class StubTextReader : TextReader
  {
    private bool m_closed;
    private bool m_disposed;

    public override void Close()
    {
      base.Close();
      m_closed = true;
    }

    protected override void Dispose(bool disposing)
    {
      base.Dispose(disposing);
      m_disposed = true;
    }

    public bool Closed
    {
      get { return m_closed; }
    }


    public bool Disposed
    {
      get { return m_disposed; }
    }
  }
}
